<div class="matter">
    <div class="container">
        <div class="row">
            <div class="col-md-12">

                <div class="widget">
                    <div class="widget-head">
                        <div class="pull-left">Detail Info</div>
                        <div class="widget-icons pull-right">
                            <a href="#" class="wminimize"><i class="icon-chevron-up"></i></a>
                            <a href="#" class="wclose"><i class="icon-remove"></i></a>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="widget-content medias">

                        <table class="table table-striped table-bordered table-hover" id="auditDetail">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>Name</th>
                                    <th>IDCard</th>
                                    <th>Avatar</th>
                                    <th>Address</th>
                                    <th>Status</th>
                                    <th>Control</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-model="vm.merchant">
                                    <td>{{ 1 }}</td>
                                    <td>{{ vm.merchant.name }}</td>
                                    <td><img src="http://zha-ita077-w7/merchant/{{merchant.idCard}}" /></td>
                                    <td><img src="http://zha-ita077-w7/merchant/{{merchant.avator}}" /></td>
                                    <td>{{ vm.merchant.address }}</td>
                                    <td><span class="label label-success">{{ vm.merchant.mStatus }}</span></td>
                                    <td>
                                        <textArea ng-model="vm.rejectReason" type="text" placeholder="reject reason" ng-hide="vm.merchant.mStatus =='white_list'"></textArea>
                                        <button class="btn btn-xs btn-success" ng-hide="vm.merchant.mStatus !='audit'" ng-click="vm.passAudit(vm.merchant._id)">Pass<i class="icon-ok"></i></button>
                                        <button class="btn btn-xs btn-danger" ng-disabled="vm.checkReason(vm.rejectReason)" ng-hide="vm.merchant.mStatus !='audit'" ng-click="vm.rejectAudit(vm.merchant._id)">Reject<i class="icon-remove"></i></button>
                                    </td>
                                </tr>
                            </tbody>
                        </table>

                        <div class="widget-foot">

                            <!--<div class="uni pull-left">
                                <select class="form-control" id="list_selector">
                                    <option><a ng-href="/#!/manager/audit">Audit</a></option>
                                    <option><a ng-href="/#!/manager/bwControl/black_list">Black</a></option>
                                    <option><a ng-href="/#!/manager/bwControl/white_list">White</a></option>
                                </select>
                            </div>-->


                            <!--<ul class="pagination pull-right">
                                <li><a href="#">Prev</a></li>
                                <li><a href="#" ng-model="vm.page_count">{{vm.page_count}}</a></li>
                                <li><a href="#">Next</a></li>
                            </ul>-->

                            <div class="clearfix"></div>

                        </div>

                    </div>
                </div>

            </div>
        </div>
    </div>
</div>